package com.itheima.mapper;


import com.trink.pojo.Sku;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface SkuMapper {

    @Select("select count(0) from tb_sku")
    Integer selectSize();

    @Select("select * from tb_sku limit #{start} , #{end} ")
    List<Sku> list(@Param("start") Integer start, @Param("end") Integer end);
}